package com.zzu;

import android.app.Application;
import android.content.Context;
import android.util.ArrayMap;
import android.util.Log;

import com.zzu.utils.AppStorage;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;

public class MyApplication extends Application {

    private static Context sContext;

    public static String tel;

    public static Context getContext(){
        return sContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        sContext = this;
        //初始化加载地址数据
        AppStorage.initRegion(sContext);
        //加载省市区三级联动的数据
        AppStorage.initJsonData(sContext);

    }
}
